package com.wing.user.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.user.model.entity.UserRole;
import com.wing.user.model.entity.Role;

import java.util.List;

/**
 * 用户角色-Service
 *
 * @author
 */
public interface UserRoleService extends IService<UserRole> {

    /**
     * 通过用户id列表
     *
     * @param userId 用户id
     * @return {@link List <Role>}
     */
    List<Role> listByUserId(Long userId);
}
